package com.tuangou.tuangougoods.goods.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("tuangou-header")
public interface HeaderGroupGoods {

    @RequestMapping("/header/groupgoods/findGroupGoods/{goodsId}")
    public R findGroupGoods(@PathVariable("goodsId")Integer goodsId);
}
